home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 June / EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso / earcd / utmisc2 / bootdate.rdm < prev    next >
Text File  |  1996-05-20  |  519b  |  19 lines

  1. Short:    Read the system date, and print it.
  2. Author:   DJones@CardiffCyberCafe.Co.Uk (Dave Jones)
  3. Uploader: DJones@CardiffCyberCafe.Co.Uk (Dave Jones)
  4. Type:     util/time
  5.  
  6. BootDate reads and outputs the current system date.
  7. This can be used for version control of programs.
  8. In your startup-sequence you have
  9.  
  10.         BootDate >ENV:CurrentDate
  11.  
  12. In your source code you then have something like..
  13.  
  14.         Dc.b    "Assembled on "
  15.         Incbin  Env:CurrentDate
  16.         Dc.b    0
  17.  
  18. BootDate needs at least Workbench 2.04
  19.